import React, { Component } from 'react'

export default class Son extends Component {
    state = {
        nameArr: ['舒克', '贝塔'],
        num: 100
    }
    render() {
        return (
            <div>Son</div>
        )
    }

    giveDataToFatherFn() {
        return this.state.num
    }
}
